package com.lh.Service.Impl;

import com.lh.Service.CategoryService;
import com.lh.bean.Category;
import com.lh.dao.CategoryDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class CategoryServiceImpl implements CategoryService {
    @Resource
    private CategoryDao categoryDao;
    public List<Category> queryCategoryList() {

        return categoryDao.queryCategoryList();
    }
}
